import Vue from 'vue'
import App from './App'
import store from './store'
import API from './common/js/api.js';
import VueLazyload from 'vue-lazyload'

Vue.use(VueLazyload, {
	preLoad: 1.3,
	error: '/static/images/morentupian.png',
	// loading: '/static/images/morentupian.png',
});

Vue.config.productionTip = false

Vue.prototype.$API = API;

App.mpType = 'app'

const app = new Vue({
    ...App,
	store
})
app.$mount()
